package com.jasonchoi.security.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 管理员控制器
 * @Author: JasonChoi
 * @Date: 2020/1/3 15:35
 */
@RestController
@RequestMapping("/admin")
public class AdminController {

    @RequestMapping("/test1")
    public String test1(){
        return "admin test1";
    }

    @RequestMapping("/test2")
    public String test2(){
        return "admin test2";
    }

    @RequestMapping("/pre/test3")
    public String test3(){
        return "admin test3";
    }
    @RequestMapping("/pre/test4")
    public String test4(){
        return "admin test4";
    }
}
